package L7_0317;

public class SalaryCheck implements Check{
    @Override
    public boolean test(Person person) {
        return person.getSalary() > 50000;
    }
}
